package com.example.demo.JavaAPITest;

/**
 * @Description:
 * @Author: Administrator
 * @Date: 2020-04-13
 */
public class StringFormatTest {
    public static void main(String[] args) {
        System.out.print(String.format("%s\n", "hello")); //换行
        System.out.print(String.format("%s", "hello"));
        System.out.print(String.format("\t  \n%s=%s", "hello","hello"));
    }
}
